package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereIdcard;
import org.linlinjava.litemall.db.domain.LumiereIdcardExample;

public interface LumiereIdcardMapper {
    long countByExample(LumiereIdcardExample example);

    int deleteByExample(LumiereIdcardExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereIdcard record);

    int insertSelective(LumiereIdcard record);

    LumiereIdcard selectOneByExample(LumiereIdcardExample example);

    LumiereIdcard selectOneByExampleSelective(@Param("example") LumiereIdcardExample example, @Param("selective") LumiereIdcard.Column ... selective);

    List<LumiereIdcard> selectByExampleSelective(@Param("example") LumiereIdcardExample example, @Param("selective") LumiereIdcard.Column ... selective);

    List<LumiereIdcard> selectByExample(LumiereIdcardExample example);

    LumiereIdcard selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereIdcard.Column ... selective);

    LumiereIdcard selectByPrimaryKey(Integer id);

    LumiereIdcard selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereIdcard record, @Param("example") LumiereIdcardExample example);

    int updateByExample(@Param("record") LumiereIdcard record, @Param("example") LumiereIdcardExample example);

    int updateByPrimaryKeySelective(LumiereIdcard record);

    int updateByPrimaryKey(LumiereIdcard record);

    int logicalDeleteByExample(@Param("example") LumiereIdcardExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}